package decorator;

import gameBasics.GameObject;
import java.awt.*;

public abstract class GameObjectDecorator extends GameObject {

    GameObject gameObject;

    //有参构造方法
    public GameObjectDecorator(GameObject gameObject){
        this.gameObject = gameObject;
    }

    @Override
    public abstract void paint(Graphics graphics);

}
